<!DOCTYPE html>
<html lang="zh_CN">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<canvas id="canvas"></canvas>

	<script type="text/javascript" src="demo02.js"></script>
	<script type="text/javascript">
		CanvasCommand.execute([
			{command: 'fillStyle', param: 'red'},
			{command: 'fillRect', param: [20, 20, 100, 100]}
		]);
	</script>
</body>
</html>